# 5 用户输入 input()
# prompt = "If you share your name, we can personalize the messages you see."
# prompt += "\nWhat is your first name? "
# first_name = input(prompt) # 程序等待⽤户输⼊，并在⽤户按回⻋键后继续运⾏
# prompt = "\nWhat is your last name? "
# last_name = input(prompt)
# prompt = "\nHow old are you? "
# age = int(input(prompt))
# print(f"\nHello, {first_name} {last_name}!")
# print(f"\nYour age is {age}")

# import while_and_function as wf
from while_and_function import *
user_info = {'location': 'princeton', 'field': 'physics',
    'first_name': 'albert', 'last_name': 'einstein'}

# wf.make_pizza('mushrooms', 'green peppers', 'extra cheese', kwargs=user_info)
# make_pizza('pepperoni', kwargs=user_info)

import class_test as ct

my_leaf = ct.ElectricCar('nissan', 'leaf', 2024)
print(my_leaf.get_descriptive_name())
my_leaf.battery.describe_battery()
my_leaf.battery.get_range()

import random